/* 设置导航栏 */
#head{
    width: 100%;
    background-color: black;
}
#navigation{
    width: 1200px;
    display: flex;
    justify-content: space-between;
    
    margin:0 auto;
    padding: 5px 0;
}
#navigation>ul{
    display: flex;
    text-align: center;
}
/* 设置导航栏左半部 */
#navigation> ul:first-child > li{
    font-size: 14px;
    color: white;
}
#navigation > ul:first-child > li > a{
    color: white;
    font-size: 14px;
    margin-right: 15px;
}
/* 设置导航栏右半部 */
#navigation>ul:last-child>li{
    font-size: 14px;
    color: white;
    margin-left: 10px;
    margin-right: 10px;
}
#navigation>ul:last-child>li>a{   
    color: white;   
}
/* 设置购物车 */
#navigation>ul:last-child>li:first-child{
    display: flex;
    align-items: flex-end;
}
#shoping_cart_logo{
    width: 15px;
    height: 15px;    
    background: url('../../images/shopping.png') no-repeat;
    padding-right: 5px;
    padding-top: 2px;
    background-size: 15px 15px;
}
.shoping_cart_num{
    font-size: 14px;
    color: red;
    margin:0 5px;
}
/* 设置下面的logo和搜索框 */
#logo_line{
    width: 1200px;
    display: flex;
    background-color: white;
    justify-content: space-between;
    margin: auto;
}
/* 设置logo图片 */
#logo{
    width: 360px;
    height: 180px;
    object-fit: contain;
}
/* 设置搜索框 */
#search{
    width: 450px;
    display: flex;
    /* justify-content: flex-start; */
    flex-wrap: wrap;
    align-content: center;
    
}
#search > form{
	width: 100%;
    display: flex;
    margin-bottom: 5px;
}
#search>form>input:first-child{
    width: 400px;
    height: 40px;
	padding-left: 10px;
    
}
#search>form>input:first-child:focus{
	  outline: none;
}

/* 设置搜索框logo */
#search>form>input:last-child{
    width: 60px;    
    cursor: pointer;
  	background: url("../../images/search.png") no-repeat #e6e6e6;
  	background-size: 60% 80%;
   	background-position: 9px 5px; 
    border: 1px solid black;
}
/* 设置搜索框下面的超链接样式 */
#searchbottom{ 
    font-size: 14px;
    color: grey;
}
#searchbottom > a{
    font-size: 14px;
    color: grey;
    
    margin-left: 5px;
    margin-right: 12px;
}
/* 设置导航栏下的购物车和订单样式 */
#cart_order{
    display: flex;
    margin-top: 25px;
}

/* 设置购物车的logo */
#lib_cart{
    width: 105px;
    height: 35px;
    display: flex;
}
#lib_cart>a{
    width: 100%;
    height: 100%;
    color: black;
    display: flex;
    align-items: center;
    border: 1px solid black;
    text-align: center;
}
.cart_logo{
	width: 30px;
	height: 30px;
	display: inline-block;
	background: url("../../images/shoppingcart.png");
	background-size: 30px 30px;
	margin-right: 5px;
}
/* 设置订单的logo */
#lib_order{
    width: 105px;
    height: 35px;
    display: flex;
    background: grey;
     border: 1px solid black;
}
#lib_order>a{
    width: 100%;
    height: 100%;
    color: white;
     display: flex;
    align-items: center;
    padding-left: 20px;
   
}
/* 设置一级菜单栏 */
#menu{
    width: 1200px;
    border: 1px solid black;
    margin: auto;
}
#menu>ul{
    display: flex;
    justify-content: flex-start;
}
/* 设置所有li的样式 */
#menu>ul>li{
	font-weight: 600;
    padding: 10px 30px;
}
#menu>ul>li>a{
    font-size: 14px;
    color: black;
    
}
#menu>ul>li>a:hover{
    color: red;
}
/* 设置分类样式 */
#menu>ul>li:first-child{
    width: 300px;
    color: white;
    background-color: black;
    display: flex;
    padding: 10px 0;
    justify-content: center;
}